<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:p="http://primefaces.org/ui"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html">

    <h:head>
        <f:loadBundle basename="person.user.label_es" var="label" />
        <f:loadBundle basename="person.user.message_es" var="message" />
    </h:head>
    <h:body>
        <h:form>
            <p:growl showDetail="true"/>
            <table align="center" width="70%" border="0">
                <tr>
                    <td><h:inputText id="email" value="#{person_user.nombre}" size="20" required="#{param['required']=='true'}" requiredMessage="#{message.m23}"/></td>
                    <p:watermark for="email" value="#{label.field1}"/> 
                    <td><h:inputSecret id="pass" value="#{person_user.clave}" size="10" required="#{param['required']=='true'}" requiredMessage="#{message.m23}"/></td>
                    <p:watermark for="pass" value="#{label.field2}"/>
                    <td>
                        <h:commandButton value="#{label.button5}" action="#{person_user.login}">
                            <f:param name="required" value="true"/>
                        </h:commandButton>
                    </td>
                </tr>
            </table>
        </h:form>
    </h:body>

</html> 